// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * NavLogisticsWarehouse
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "nav_logistics_warehouse", autoResultMap = true)
@Schema(title = "物流管理-第三方仓物流-发货设置")
public class NavLogisticsWarehouse implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 仓库编号
   */
  @TableField(value = "`warehouse_id`")
  @JoinField(Warehouse.class)
  @Schema(title = "仓库编号")
  private Long warehouseId;

  /**
   * 物流商
   */
  @TableField(value = "`provider_name`")
  @Schema(title = "物流商")
  private String providerName;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 物流等级
   */
  @TableField(value = "`grade_id`")
  @Schema(title = "物流等级")
  private String gradeId;

  /**
   * 平台
   */
  @TableField(value = "`platform`")
  @Schema(title = "平台")
  private String platform;

  /**
   * 允许使用亚马逊包装箱
   */
  @TableField(value = "`use_fba_box`")
  @Schema(title = "允许使用亚马逊包装箱")
  private String useFbaBox;

  /**
   * 允许使用亚马逊物流(AMZL)
   */
  @TableField(value = "`use_fba_logistics`")
  @Schema(title = "允许使用亚马逊物流(AMZL)")
  private String useFbaLogistics;

  /**
   * 装箱单备注
   */
  @TableField(value = "`remark`")
  @Schema(title = "装箱单备注")
  private String remark;
}
